<?php
/**
 * Created by PhpStorm.
 * User: dsf
 * Date: 2017/6/14
 * Time: 21:07
 */

namespace module;

use houdunwang\request\Request;
use system\model\Keywords;
trait Wechat
{
    final protected function saveKeywords($data)
    {
        $data['module'] = Request::get('m');
        $keyWordsModel = new Keywords();
        $keyWordsModel->save($data);
    }
}